﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenLab.DAL;
using OpenLab.Model;

namespace OpenLab.BLL
{

    public partial class OrganismeBLL : OpenLab.BLL.IOrganismeBLL
    {
        public Organisme Add(Organisme organisme)
        {
            return new OrganismeDAL().Add(organisme);
        }

        public int DeleteById(int id)
        {
            return new OrganismeDAL().DeleteById(id);
        }

		public int Update(Organisme organisme)
        {
            return new OrganismeDAL().Update(organisme);
        }
        

        public Organisme GetById(int id)
        {
            return new OrganismeDAL().GetById(id);
        }
		public int GetTotalCount()
		{
			return new OrganismeDAL().GetTotalCount();
		}
		
		public IEnumerable<Organisme> GetPagedData(int minrownum,int maxrownum)
		{
			return new OrganismeDAL().GetPagedData(minrownum,maxrownum);
		}
		
		public IEnumerable<Organisme> GetAll()
		{
			return new OrganismeDAL().GetAll();
		}
    }
}
